package com.timesheet.serverice;

import java.util.List;

import com.timesheet.server.common.models.TaskTypeDTO;
import com.timesheet.server.dao.TaskTypeDao;

public class TaskTypeService {

	TaskTypeDao taskTypeDao = new TaskTypeDao();
	
	public boolean createTaskType(TaskTypeDTO taskTypeDto){
		return taskTypeDao.createTaskType(taskTypeDto);
	}
	
	public List<TaskTypeDTO> getAllTaskTypes(){
		return taskTypeDao.getAllTaskTypes();
	}
	
}
